<template>
  <div class="login_content">
    <phone-login v-if="curLogin == 'development'"></phone-login>
    <qr-login v-if="curLogin == 'production'"></qr-login>
  </div>
</template>

<script>
import phoneLogin from '@/components/login/phone'
import qrLogin from '@/components/login/qr'
export default {
  components: {
    phoneLogin,
    qrLogin
  },
  name: "Index",
  data() {
    return {
      // 版本号
      version: "3.8.8",
      curLogin: process.env.NODE_ENV
    };
  },
  mounted() {
    console.log(this.curLogin);

    // 初始化登录组件
    // console.log(this.$ww, 'ww');
    // console.log(process.env.VUE_APP_APPID, 'VUE_APP_APPID');
    // console.log(process.env.VUE_APP_BACKURL, 'BACKURL');
  },
  methods: {


  }
};
</script>

<style scoped lang="scss"></style>
